package com.piao.springboot_freemaker.controller;

@Controller
class FreemarkerController {
    @RequestMapping("/index")
    public String index(Model model){
        model.addAttribute("name","hello freemarker");
        return "index";
    }
}
